package com.yuanhua.xcxmng.wechat.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

@JsonIgnoreProperties(ignoreUnknown = true)
public class UserIndicator {
    private Long    id;

    private String  deviceId;

    private String  openId;

    private String  unionId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date    createTime;

    private Integer weight;

    private Integer bmi;
    @JsonProperty("tz_rate")
    private Integer tzRate;
    @JsonProperty("jcdx_rate")
    private Integer jcdxRate;

    private Integer nzzfzs;

    @JsonProperty("jr_rate")
    private Integer jrRate;

    private Integer gz;
    @JsonProperty("db_rate")
    private Integer dbRate;

    private Integer sf;
    @JsonProperty("pxzf_rate")
    private Integer pxzfRate;

    private Integer stnl;

    private Integer height;

    private Integer age;

    private String  unit;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId == null ? null : unionId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Integer getBmi() {
        return bmi;
    }

    public void setBmi(Integer bmi) {
        this.bmi = bmi;
    }

    public Integer getTzRate() {
        return tzRate;
    }

    public void setTzRate(Integer tzRate) {
        this.tzRate = tzRate;
    }

    public Integer getJcdxRate() {
        return jcdxRate;
    }

    public void setJcdxRate(Integer jcdxRate) {
        this.jcdxRate = jcdxRate;
    }

    public Integer getNzzfzs() {
        return nzzfzs;
    }

    public void setNzzfzs(Integer nzzfzs) {
        this.nzzfzs = nzzfzs;
    }

    public Integer getJrRate() {
        return jrRate;
    }

    public void setJrRate(Integer jrRate) {
        this.jrRate = jrRate;
    }

    public Integer getGz() {
        return gz;
    }

    public void setGz(Integer gz) {
        this.gz = gz;
    }

    public Integer getDbRate() {
        return dbRate;
    }

    public void setDbRate(Integer dbRate) {
        this.dbRate = dbRate;
    }

    public Integer getSf() {
        return sf;
    }

    public void setSf(Integer sf) {
        this.sf = sf;
    }

    public Integer getPxzfRate() {
        return pxzfRate;
    }

    public void setPxzfRate(Integer pxzfRate) {
        this.pxzfRate = pxzfRate;
    }

    public Integer getStnl() {
        return stnl;
    }

    public void setStnl(Integer stnl) {
        this.stnl = stnl;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }
}